﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="tm_addSmallAdvert.ascx.cs" Inherits="SmallAdvert.controls_tm_addSmallAdvert" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="message.ascx" TagName="message" TagPrefix="uc2" %>
<%@ Register Src="tm_guestInfo.ascx" TagName="tm_guestInfo" TagPrefix="uc1" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>

<center>
    <div id="none_border">
<uc1:tm_guestInfo ID="myGuestInfo" runat="server" Visible="false"/>
        <br />
<asp:Panel ID="pnlEdit" runat="server" Width="100%" Visible="False">
    <TABLE width=100% border=0><TBODY>
        <tr>
            <td class="table" colspan="3">
                </td>
        </tr>
        <TR>
        <td width="5%">
        </td>
        <TD width="15%"><asp:Label id="Label1" runat="server" Text="Chủ đề :" CssClass="titletext3"></asp:Label><asp:Label id="Label3" runat="server" Font-Bold="True" Text="*" ForeColor="Red"></asp:Label> </TD><TD>
        
        <asp:TextBox id="tbxSubject" Width="100%" runat="server"></asp:TextBox></TD></TR>
        <tr>
            <td valign="top">
            </td>
            <td valign="top">
                <asp:Label id="Label2" runat="server" Text="Nội dung :" CssClass="titletext3"></asp:Label><asp:Label id="Label6" runat="server" Font-Bold="True" Text="*" ForeColor="Red"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tbxContents" runat="server" Height="120px" TextMode="MultiLine" Width="100%"></asp:TextBox>&nbsp;</td>
        </tr>
    </TBODY></TABLE>
    <asp:Label ID="lblLoginUserId" runat="server" CssClass="titletext3" Visible="False"></asp:Label>
    <asp:Label ID="lblMyPortalId" runat="server" CssClass="titletext3" Visible="False"></asp:Label>
    <asp:Label ID="lblLoginUserType" runat="server" Visible="False"></asp:Label>
        
        <asp:TextBox id="txtEditSmallAdvId" Width="50px" runat="server" Enabled="False" Visible="False"></asp:TextBox></asp:Panel>

<asp:Panel ID="pnlManager" runat="server" Visible="False" Width="100%"><TABLE width="100%" border=0><TBODY><TR>
    <td width="5%">
    </td>
    <TD width="15%"><asp:Label id="Label10" runat="server" Text="Người đăng:" CssClass="titletext3"></asp:Label></TD><TD style="width: 475px"><asp:TextBox id="tbxCreateByName" Width="100%" runat="server" BackColor="#FFFFC0" ReadOnly="True"></asp:TextBox></TD></TR><TR>
    <td>
    </td>
    <TD><asp:Label id="Label5" runat="server" Text="Ngày tạo :" CssClass="titletext3"></asp:Label></TD><TD><asp:TextBox id="tbxCreateDate" Width="98px" runat="server" BackColor="#FFFFC0" ReadOnly="True"></asp:TextBox>
    &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<asp:Label id="Label9" runat="server" Text="Ngày đăng :" CssClass="titletext3"></asp:Label>
    <asp:TextBox id="tbxOpenDate" Width="92px" runat="server"></asp:TextBox><asp:HyperLink id="hlkOpenDatess" runat="server" ImageUrl="~/images/CalendarAJ.png">HyperLink</asp:HyperLink>
    &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
    <asp:Label id="Label12" runat="server" Text="Ngày đóng :" CssClass="titletext3"></asp:Label><asp:TextBox id="tbxCloseDate" Width="90px" runat="server"></asp:TextBox><asp:HyperLink id="hlkCloseDate" runat="server" ImageUrl="~/images/CalendarAJ.png">HyperLink</asp:HyperLink></TD></TR>
    <tr>
        <td>
        </td>
        <td>
            <asp:Label id="Label11" runat="server" Text="Trạng thái :" CssClass="titletext3"></asp:Label></td>
        <td>
            <asp:DropDownList id="ddlStatus" Width="152px" runat="server"></asp:DropDownList>
            <asp:Label ID="lblSmallAdvState" runat="server" Visible="False"></asp:Label></td>
    </tr>
</TBODY></TABLE></asp:Panel>

<asp:Panel ID="pnlButton" runat="server" Width="100%" Visible="False">
<TABLE width="100%"><TBODY><TR>
    <td align="center" width="25%" style="height: 26px">
    </td>
    <TD align=left style="height: 26px"><asp:Button id="btnSave" onclick="btnSave_Click" Width="80px" runat="server" Font-Bold="True" CssClass="btn" Text="Lưu"></asp:Button> 
<asp:Button id="btnReset" onclick="btnReset_Click" Width="80px" runat="server" Font-Bold="True" CssClass="btn" Text="Làm lại"></asp:Button> 
<asp:Button id="btnClose" Width="80px" runat="server" Font-Bold="True" CssClass="btn" Text="Đóng" OnClick="btnClose_Click"></asp:Button></TD></TR></TBODY></TABLE> 
</asp:Panel>
        <uc2:message ID="hplMessage" runat="server" /><asp:Label ID="lblMessage" runat="server" />
        &nbsp;<asp:Label ID="lblDebugMessage" runat="server">
</asp:Label></div>
</center>
